﻿<%@ Page Language="C#" MasterPageFile="~/Org/MasterPage.master" AutoEventWireup="true" CodeFile="frmO_JointCompList.aspx.cs" Inherits="Org_frmO_JointCompList" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="maindiv1">
    <div style="color:Red;margin:30px;">
       ※検索条件を指定してください。
    </div>
    
    <div style="margin-left:30px;margin-bottom:10px;">
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>       
    </div>
    <div style="margin-left:60px;">
        <asp:Button ID="Button1" runat="server" Text="検索" Width="126px" />
    </div>
    <div style="margin-left:60px;margin-top:10px;">
        <div>
            <asp:Label ID="Label9" runat="server" Text="例：”2”を入力した場合 → データの中に”2”が存在する送出し機関を表示する。" ForeColor="Red"></asp:Label>
       </div>
       <div style="margin-top:10px">
           <asp:Label ID="Label10" runat="server" Text="     ”＊A”を入力した場合 → データの中で最後に”A”がある送出し機関を表示する。" ForeColor="Red"></asp:Label>
       </div>
    </div>
    <div class="Header4"></div>
    
    <asp:HiddenField id="hd_pageCount" runat="server"></asp:HiddenField> 
    <div style="MARGIN: 10px 50px 50px" class="detail-admin-row">
    <div style="margin-top:10px;color:Red;">
        <asp:Label ID="Label11" runat="server" Text="※送出し機関名をクリックすると、送出し機関の詳細情報を確認できます。"></asp:Label>
    </div>
    <br />
            <asp:GridView id="grv_human" runat="server"   Width="100%"  ShowFooter="True" AutoGenerateColumns="False" CssClass="grid">
            
            <Columns>
            
                <asp:TemplateField HeaderText="送出し機関名" SortExpression="送出し機関名">
                <ItemTemplate>
                    <asp:LinkButton id="HyperLink1" runat="server"  CommandName="view" Text='<%# Bind("送出し機関名") %>' PostBackUrl="~/Org/frmO_JointCompBasicInfoRef.aspx" ></asp:LinkButton> 
                </ItemTemplate>
                 <FooterTemplate>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/controls/first copy.gif"  CommandArgument="First" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton2" runat="server"   ImageUrl="~/Images/controls/last copy.gif" CommandArgument="Prev" CommandName="Page"/>
                         ページ<asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" ></asp:DropDownList> 
                            / <asp:Label ID="lblPageCount" runat="server"></asp:Label>
                             <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/controls/next copy.gif"   CommandArgument="Next" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/controls/previous copy.gif"  CommandArgument="Last" CommandName="Page"/>
                    </FooterTemplate>
                     <FooterStyle HorizontalAlign="center" VerticalAlign="Middle" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" BackColor="#808080"></FooterStyle>
                </asp:TemplateField>
                               
                <asp:BoundField DataField="電話番号" HeaderText="電話番号" />
                <asp:BoundField DataField="FAX" HeaderText="FAX" />
                <asp:BoundField DataField="住所" HeaderText="住所" />
                <asp:BoundField DataField="担当者" HeaderText="担当者" />
              </Columns>
              <RowStyle BackColor="#FFFFCC" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"/>
              <AlternatingRowStyle BackColor="White" />
               <SelectedRowStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" />
            </asp:GridView> 
            <%--<asp:GridView id="grv_human" runat="server"  BorderColor="Black"  BorderWidth="1px" BackColor="LightGoldenrodYellow" Width="100%" AllowSorting="True" EmptyDataText="trong" ShowFooter="True" Height="40px" AutoGenerateColumns="False" CssClass="grid">
            
            <Columns>
            
                <asp:TemplateField HeaderText="送出し機関名" SortExpression="送出し機関名"><ItemTemplate>
                    <asp:LinkButton id="HyperLink1" runat="server" CommandName="view" Text='<%# Bind("送出し機関名") %>' PostBackUrl="~/Org/frmO_JointCompBasicInfoRef.aspx" ></asp:LinkButton> 
                   
                </ItemTemplate>
                 <FooterTemplate>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/controls/first copy.gif"  CommandArgument="First" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton2" runat="server"   ImageUrl="~/Images/controls/last copy.gif" CommandArgument="Prev" CommandName="Page"/>
                         ページ<asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" ></asp:DropDownList> 
                            / <asp:Label ID="lblPageCount" runat="server"></asp:Label>
                             <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/controls/next copy.gif"   CommandArgument="Next" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/controls/previous copy.gif"  CommandArgument="Last" CommandName="Page"/>
                    </FooterTemplate>
                     <FooterStyle HorizontalAlign="center" VerticalAlign="Middle"  BorderWidth="0px" BorderStyle="None"  BackColor="Tan"></FooterStyle>
               
                <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                
                </asp:TemplateField>

                
                <asp:TemplateField HeaderText="電話番号" SortExpression="電話番号">
                    
                    <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text="<%# Bind('電話番号') %>" ></asp:Label>
                     </ItemTemplate>
                  
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="FAX" SortExpression="FAX">
                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text="<%# Bind('FAX') %>" ></asp:Label>
                    </ItemTemplate>
                   
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>  
                <asp:TemplateField HeaderText="住所" SortExpression="住所">
                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text="<%# Bind('住所') %>" ></asp:Label>
                    </ItemTemplate>
                   
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>   
                <asp:TemplateField HeaderText="担当者" SortExpression="担当者">                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text="<%# Bind('担当者') %>" ></asp:Label>
                    </ItemTemplate>
                   
                    <HeaderStyle BackColor="Tan" Font-Bold="True"></HeaderStyle>
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:TemplateField>                                
          </Columns>
           <SelectedRowStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" />
    </asp:GridView> --%>
</div>
</div>
</asp:Content>

